package model
{
	import flash.events.Event;

	public class ActionEvent extends Event
	{
		public static const EVENT_NAME:String = "EVENT_INFO_UPDATE";
		
		private var _stateName:int;
		private var _code:int;
		private var _data:Object;
		
		public function ActionEvent(stateName:int, code:int, data:Object=null)
		{
			super(ActionEvent.EVENT_NAME);
			_stateName = stateName;
			_code = code;
			_data = data; 
		}

		public function get code():int
		{
			return _code;
		}

		public function set code(value:int):void
		{
			_code = value;
		}

		public function get data():Object
		{
			return _data;
		}

		public function set data(value:Object):void
		{
			_data = value;
		}

		public function get stateName():int
		{
			return _stateName;
		}

		public function set stateName(value:int):void
		{
			_stateName = value;
		}

	}
}